/*
 * 	Flan.Zeng 2011-2016	http://git.oschina.net/signup?inviter=flan
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.flan.stock;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;
import com.flan.stock.utils.Log;

import android.app.Application;

/**
 * @author flan
 * @date   2015年10月5日
 */
public class StockApplication extends Application {
	
	//Volley请求队列
	public static RequestQueue requestQueue;
	
	@Override
	public void onCreate() {
		super.onCreate();
		
		Log.setLevel(Log.DEBUG);	//设置Log打印级别
		
		//StockGlobalExceptionHandler exceptionHandler = StockGlobalExceptionHandler.getInstance();
		//exceptionHandler.init(this);
		
		requestQueue = Volley.newRequestQueue(getApplicationContext());
	}
	
}











